/* 重置样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(126deg, #F9ED32 4.79%, #D9BD32 54.4%);
    backdrop-filter: blur(2px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}


/* 主容器 */

.login-container {
    display: flex;
    width: 1024px;
    height: 640px;
    background: #FCFEFF;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


/* 左侧装饰区域 */

.left-section {
    position: relative;
    width: 400px;
    height: 640px;
    overflow: hidden;
    background: rgba(230, 243, 255, 0.75);
}


/* 装饰性blob */

.blob {
    position: absolute;
    border-radius: 50%;
}

.blob-1 {
    background: #F9ED32;
    width: 350px;
    height: 420px;
    top: 80px;
    left: 15px;
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
}

.blob-2 {
    background: #F2D335;
    width: 360px;
    height: 380px;
    top: 50px;
    left: 70px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.blob-3 {
    background: #D9BD32;
    width: 380px;
    height: 300px;
    top: 320px;
    left: -10px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}


/* 主图片 */

.main-image {
    position: absolute;
    top: 120px;
    left: 30px;
    width: 280px;
    height: 400px;
    z-index: 10;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 右侧内容区域 */

.right-section {
    flex: 1;
    background: #FCFEFF;
    border-radius: 0 25px 25px 0;
    position: relative;
}

.content-frame {
    width: 100%;
    height: 100%;
    padding: 60px 80px;
}

.form-container {
    max-width: 480px;
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* 标题 */

.title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.5em;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
}


/* 表单组 */

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    color: #7C838A;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    height: 50px;
    background: rgba(176, 186, 195, 0.4);
    border: none;
    border-radius: 15px;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #000;
    outline: none;
}

.input-wrapper input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.input-wrapper input:focus {
    background: rgba(176, 186, 195, 0.6);
}


/* 创建账户按钮 */

.create-account-btn {
    width: 280px;
    height: 50px;
    background: #F9ED32;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5em;
    color: #000000;
    cursor: pointer;
    margin: 25px auto 15px;
    transition: background-color 0.3s ease;
}

.create-account-btn:hover {
    background: #F2D335;
}


/* 登录链接 */

.login-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5em;
    color: #000000;
    text-align: left;
    margin-bottom: 53px;
    cursor: pointer;
}

.login-link:hover {
    text-decoration: underline;
}


/* 分隔线 */

.divider {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.5em;
    color: #B0BAC3;
    text-align: center;
    margin-bottom: 15px;
}


/* 社交登录按钮 */

.social-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.social-btn {
    width: 180px;
    height: 45px;
    background: transparent;
    border: 1px solid #7C838A;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(124, 131, 138, 0.1);
    transform: translateY(-2px);
}

.social-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.social-btn span {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5em;
    color: #7C838A;
}


/* 版权信息 */

.copyright {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.171875em;
    color: #7C838A;
    text-align: center;
    margin-top: auto;
}


/* 响应式设计 */

@media (max-width: 1200px) {
    .left-section {
        width: 400px;
    }
    .content-frame {
        padding: 80px 60px;
    }
    .social-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    .left-section {
        width: 100%;
        height: 300px;
    }
    .right-section {
        border-radius: 25px 25px 0 0;
    }
    .content-frame {
        padding: 40px 20px;
    }
    .title {
        font-size: 22px;
        margin-bottom: 40px;
    }
    .form-group {
        margin-bottom: 25px;
    }
    .create-account-btn {
        width: 100%;
        margin: 30px 0 15px;
    }
}